package com.jianger.conf;

import com.jianger.dao.*;

/**
 * @author jianger
 * @ date  2018/4/4-16:46
 * @project com.jianger.conf
 * <p>
 * daoImpl的工厂
 */
public class DaoFactory {


    /**
     * 获取taskdao
     */

    public static TaskDao getTaskDaoImpl() {
        return new TaskDaoImpl();

    }


    public static ISessionAggrStatDAO getSessionAggrStatDAOImpl() {

        return new SessionAggrStatDAOImpl();
    }

    public static ISessionRandomExtractDAO getSessionExtractDaoImpl() {

        return new SessionRandomExtractDAOImpl();

    }

    public static ISessionDeatilDaoImpl getSessionDetailImpl() {

        return new ISessionDeatilDaoImpl();

    }

}
